<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<style type="text/css">
.dateWidth1 {
	width: 195px;
}

.select_width {
	width: 130px;
}
</style>
<script type="text/javascript">
	function uploadfile(index, i) {
		if (2 == index) {
			$("#proof_file_data").click();

		} else
			$("#card_file").click();
	}

	$(function() {
		fileInit_1(
				"kepu",
				"JPG，PNG，DOC，WPS，DOCX，PDF，XLS，XLSX，TIFF，RAR",
				null,
				"{'JPG':'20480','PNG':'20480','DOC':'20480','WPS':'20480','DOCX':'20480','PDF':'20480','XLS':'20480','XLSX':'20480','TIFF':'20480','RAR':'20480'}");
		$("#kepu").find(".file").hide();
		fileInit_1(
				"proof_file",
				"JPG，PNG，DOC，WPS，DOCX，PDF，XLS，XLSX，TIFF，RAR",
				null,
				"{'JPG':'20480','PNG':'20480','DOC':'20480','WPS':'20480','DOCX':'20480','PDF':'20480','XLS':'20480','XLSX':'20480','TIFF':'20480','RAR':'20480'}");
		$("div[id^='proof_file']").find(".file").hide();
		totalKepu();
	})

	/* function show(index){
		$("#kepu").find("#proof_file"+index).show();
	} */
	function fileInit_1(tableId, type, width, validateJson) {
		var imgres = "";

		if (locale == "en_US") {
			imgres = "Upload_EN.gif";

		} else {
			imgres = "Upload_2.gif";

		}
		$("#" + tableId).find(":file").filestyle({
			image : res + "/images/" + imgres,
			imageheight : 25,
			imagewidth : 56,
			width : width
		});
		$("#" + tableId).find(":file").not("#filedata\\[0\\]").each(
				function(i) {
					$(this).change(
							function() {
								var str = $(this).attr("id");
								var index = str.charAt(str.length - 1);
								showFileName_1($(this), tableId, type,
										validateJson, index);
							});
				});
	}

	function showFileName_1(obj, tableId, type, validateJson, index) {
		var max = null;
		var fileTblId = null;// 文件列表的表格id

		fileTblId = tableId;
		var filedata = obj.val();
		if (filedata == '')
			return;
		else if (max != null && $.isNumeric(max) && fileTblId != null
				&& $("#" + fileTblId + " tr:gt(1)").length >= max) {
			var label = "";
			if ($("#" + fileTblId).attr("label") != null)
				label = $("#" + fileTblId).attr("label");

			scmWarn(label + messageTip.canNotUploadMoreThan + max
					+ messageTip.files1);
			return;
		} else {
			var fileName = filedata.substring(filedata.replace(/\\/g, '/')
					.lastIndexOf('/') + 1);
			var end = fileName.substring(fileName.lastIndexOf(".") + 1,
					fileName.length).toUpperCase();
			if (type.indexOf(end) < 0) {
				scmWarn(messageTip.pleaseUpload + type + messageTip.files2,
						"100px");
				return;
			}
		}

		$("#" + tableId + " .file").val(fileName);
		ajaxFileUpload_1(obj, "orgattach", tableId, type, max, validateJson,
				index);
	}

	function ajaxFileUpload_1(obj, type, tblId, filetype, max, validateJson,
			index) {
		irisAjaxFileUpload_1(obj, type, tblId, filetype, max, validateJson,
				index);
	}

	function uploadSuccess_1(obj, data, tableId, filetype, index) {
		$("#" + tableId).find("#file_code" + index).val(
				data[data.length - 1].fileCode);
		$("#" + tableId).find("#file_name" + index).text(
				data[data.length - 1].fileName);
		$("#" + tableId).find("#file_url" + index).attr("href",
				downloadPath + data[data.length - 1].fileCode);
		$("#proof_file" + index).show();
		$("#sy_delConent" + index).show();

		/* 				var fileDate = $("#" + tableId).find("span[id='proof_file_date'"+index+"]");// 上传时间对象
		 */
		var fileDate = $("#" + tableId).find("#proof_file_date" + index);// 上传时间对象
		var nowTime = showLocale(new Date());
		fileDate.text(nowTime);
		$("#" + tableId).find("#" + index).show();
	}

	function irisAjaxFileUpload_1(obj, type, tableId, fileType, max,
			validateJson, index) {
		if (type == null || type == '') {
			scmWarn(messageTip.pleaseEnterTypeOfAttachment);
			return;
		}
		$("#" + tableId + " input[type='file']").not(obj).each(function() {
			this.outerHTML = this.outerHTML.replace(/(value=\").+\"/i, "$1\"");
		});

		prcWin.openWin();// 打开遮罩层
		$
				.ajaxFileUpload({
					url : ctx + '/file/ajax-fileupload',// 请求地址
					secureuri : false,// 一般设置为false
					fileElementId : 'filedata',// 文件的id属性
					limitSize : '10',// 允许上传的文件大小,单位M
					allowType : '',// 允许上传的文件类型.
					data : {
						'type' : type,
						'validateJson' : validateJson
					},
					tableId : tableId,// tableID
					dataType : 'json',// 返回值类型
					success : function(data, status) // 服务器成功响应处理函数
					{
						if (data.result == 'error') {
							scmWarn(data.msg);
						} else {

							uploadSuccess_1(obj, data, tableId, fileType, index);

							$("#" + tableId)
									.find(":file")
									.not("#filedata\\[0\\]")
									.each(
											function(i) {
												fileType = "JPG，PNG，DOC，WPS，DOCX，PDF，XLS，XLSX，TIFF，RAR";
												validateJson = "{'JPG':'20480','PNG':'20480','DOC':'20480','WPS':'20480','DOCX':'20480','PDF':'20480','XLS':'20480','XLSX':'20480','TIFF':'20480','RAR':'20480'}";
												$(this).unbind("change");
												$(this)
														.change(
																function() {
																	var str = $(
																			this)
																			.attr(
																					"id");
																	var index = str
																			.charAt(str.length - 1);
																	showFileName_1(
																			$(this),
																			tableId,
																			fileType,
																			validateJson,
																			index);
																});
											});
						}
						prcWin.closeWin();// 关闭遮罩层
					},
					error : function(data, status, e)// 服务器响应失败处理函数
					{
						$("#" + tableId + " input[type='file']").each(
								function(j) {
									this.outerHTML = this.outerHTML.replace(
											/(value=\").+\"/i, "$1\"");
								});

						$("#" + tableId)
								.find(":file")
								.not("#filedata\\[0\\]")
								.each(
										function(i) {
											fileType = "JPG，PNG，DOC，WPS，DOCX，PDF，XLS，XLSX，TIFF，RAR";
											validateJson = "{'JPG':'20480','PNG':'20480','DOC':'20480','WPS':'20480','DOCX':'20480','PDF':'20480','XLS':'20480','XLSX':'20480','TIFF':'20480','RAR':'20480'}";
											$(this).unbind("change");
											$(this)
													.change(
															function() {
																showFileName_1(
																		$(this),
																		"mainGoodsInfo",
																		fileType,
																		validateJson,
																		index);
															});
										});
						if (data && data.responseText && data.responseText.indexOf('413') > -1) {
				scmError("上传的文件超过限制大小！");
			} else {
				scmError(status);
			}
						prcWin.closeWin();// 关闭遮罩层
					},
					complete : function() {
						prcWin.closeWin();// 关闭遮罩层
					}
				});

	}

	function delContent_1(tableId, index) {
		if (confirm("你确定要删除该附件？")) {
			/* $("#" + tableId).find("input[id='file_code']").val("");// 清空文件名
			$("#" + tableId).find("span[id='proof_file_date']").text("");// 清空文件code
			$("#" + tableId).find("span[id='file_name']").text("");// 清空文件上传日期
			$("#"+tableId).find("#proof_content").hide(); */

			$("#" + tableId).find("#file_code" + index).val("");// 清空文件名
			$("#" + tableId).find("#proof_file_date" + index).text("");// 清空文件code
			$("#" + tableId).find("#file_name" + index).text("");// 清空文件上传日期
			$("#" + tableId).find("#proof_content" + index).hide();

			$("#sy_delConent" + index).hide();
			$("#file" + index).val("");
			$("#proof_file" + index).hide();

			/* $("#" + tableId).find("#proof_file"+index).hide(); */

		}
	}

	function totalKepu() {
		var kepu0 = $("#kepu0");
		var kepu_0 = $("#kepu_0");
		var kepu1 = !!parseFloat($("#kepu1").val()) ? parseFloat($("#kepu1")
				.val()) : 0;
		var kepu2 = !!parseFloat($("#kepu2").val()) ? parseFloat($("#kepu2")
				.val()) : 0;
		var kepu3 = !!parseFloat($("#kepu3").val()) ? parseFloat($("#kepu3")
				.val()) : 0;
		var kepu_1 = !!parseFloat($("#kepu_1").val()) ? parseFloat($("#kepu_1")
				.val()) : 0;
		var kepu_2 = !!parseFloat($("#kepu_2").val()) ? parseFloat($("#kepu_2")
				.val()) : 0;
		var kepu_3 = !!parseFloat($("#kepu_3").val()) ? parseFloat($("#kepu_3")
				.val()) : 0;

		var kepu100 = !!parseFloat($("#kepu100").val()) ? parseFloat($(
				"#kepu100").val()) : 0;

		kepu0.val(accAdd(accAdd(kepu1, kepu2), kepu3));
		kepu_0.val(accAdd(accAdd(kepu_1, kepu_2), kepu_3));

		/* if(kepu100=='0' && kepu1=='0' &&kepu2=='0' &&kepu3=='0'){
			$("#file_code4").removeClass("required");
		}
		else{
			$("#file_code4").addClass("required");
		} */
	}
	$(function() {
		$("table[id='kepu']").find("input[name^='full_year']").each(function() {
			$(this).change();
		})
	})

	function doSomething(elementid, element2id) {
		var value1 = $("#" + elementid).val();
		var value2 = "0";
		if (!!element2id) {
			value2 = $("#" + element2id).val();
		}
		value1 = parseInt(value1);
		value2 = parseInt(value2);
		if (!!!value1) {
			value1 = 0;
		}
		if (!!!value2) {
			value2 = 0;
		}
		var total = value1 + value2;

		if (total == 0) {
			$("#" + elementid).parents("tr").find("input[id^='file_code']")
					.removeClass("required");
		} else {
			$("#" + elementid).parents("tr").find("input[id^='file_code']")
					.addClass("required");
		}

	}

	/* $(function(){
		var kepu0 = $("#kepu0");
		var kepu_0 = $("#kepu_0");
		if(kepu0.val() == "" || kepu_0.val()== ""){
			kepu0.val(0);
			kepu_0.val(0);
		}
	}); */
</script>

<div class="t_bar">
	<span class="color_red">*</span>
	科普工作成效
</div>

<table width="100%" border="0" cellpadding="0" cellspacing="1"
	class="t_css" id="kepu">

	<tr class="t_tr finance_enterprise">
		<!-- 企业财务 -->
		<td align="left" width="20%">（一）科普活动</td>
		<td align="center" width="20%"></td>
		<td align="center" width="35%"></td>
		<td align="center" width="15%">证明材料(上传资料)</td>
	</tr>
	<tr>
		<td align="center">1、全年举办活动情况</td>
		<td align="center">总次数</td>
		<td align="center">参与人数</td>
		<td align="center"></td>
	</tr>
	<tr>
		<td></td>
		<td align="center">
			<input id="kepu100" name="full_year/total_number"
				label="全年举办活动情况-->总次数" onchange="totalKepu();doSomething(this.id);"
				type="text" class="input_css required valueGreatEqual:kepu100:kepu0"
				style="width: 80%" maxlength="20"
				onfocus="InitInput.setNumber(this,7,0,0);"
				onchange="InitInput.setNumber(this,7,0,0)"
				value="<x:out select="$xmlData/data/full_year/total_number" />" />
			<input id="kepu0"
				label="全年举办活动情况-->其中：在2016年广州科技活动周期间举办活动次数，参加广州科普基地联盟四进活动、科普基地校园行等次数，参加广州科普讲解大赛次数三项次数之和"
				type="hidden" value="" />
			次
		</td>
		<td align="center">
			<input id="kepu_100" name="full_year/total_person"
				label="全年举办活动情况-->参与人数" type="text"
				class="input_css required valueGreatEqual:kepu_100:kepu_0"
				style="width: 80%" maxlength="20"
				onfocus="InitInput.setNumber(this,7,0,0);"
				onchange="InitInput.setNumber(this,7,0,0)"
				value="<x:out select="$xmlData/data/full_year/total_person" />" />
			<input id="kepu_0" type="hidden"
				label="全年举办活动情况-->其中：在2016年广州科技活动周期间举办活动次数，参加广州科普基地联盟四进活动、科普基地校园行等次数，参加广州科普讲解大赛次数三项参与人数之和"
				value="" />
			人次
		</td>
		<td width="50%" align="center" style="WORD-WRAP: break-word">

			<c:set var="file_code">
				<x:out select="$xmlData/data/basic_info/proof_file_code1" />
			</c:set>

			<div id="proof_content1" style="float: left; width: 200px;">
				<%--  <c:if test="${empty file_code }">display:none;</c:if> --%>
				<input id="file1" type="file" name="filedata" />

				<div id="proof_file1"
					style="<c:if test="${empty file_code}">display:none;</c:if>">
					<input type="hidden" id="file_code1"
						name="basic_info/proof_file_code1" class="required"
						label="全年举办活动情况-->证明材料"
						value="<x:out select="$xmlData/data/basic_info/proof_file_code1" />" />
					<br />
					<br />
					<a id="file_url1" class="link_x"
						href="/egrantweb/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/basic_info/proof_file_code1" />"
						style="cursor: pointer;">
						<span name="basic_info/proof_file_name1" id="file_name1"
							style="color: blue;">
							<x:out select="$xmlData/data/basic_info/proof_file_name1" />
						</span>
					</a>
					<br />
					(上传时间
					<span name="basic_info/proof_file_date1" id="proof_file_date1">
						<iris:xout select="$xmlData/data/basic_info/proof_file_date1" />
					</span>
					)
					<a href="###" class="link_x" id="sy_delConent1"
						onclick="delContent_1('proof_file1',1)">删除</a>
				</div>
			</div>

		</td>
	</tr>
	<tr>
		<td align="center">其中：在2016年广州科技活动周期间举办活动次数</td>
		<td align="center">
			<input id="kepu1" name="full_year/keji_number"
				label="其中：在2016年广州科技活动周期间举办活动次数-->总次数" type="text"
				class="input_css required" style="width: 80%" maxlength="20"
				onfocus="InitInput.setNumber(this,7,0,0);"
				onchange="totalKepu();doSomething(this.id);"
				value="<x:out select="$xmlData/data/full_year/keji_number" />" />
			次
		</td>
		<td align="center">
			<input id="kepu_1" name="full_year/keji_person"
				label="其中：在2016年广州科技活动周期间举办活动次数-->参与人数" type="text"
				class="input_css required" style="width: 80%" maxlength="20"
				onfocus="InitInput.setNumber(this,7,0,0);" onchange="totalKepu();"
				value="<x:out select="$xmlData/data/full_year/keji_person" />" />
			人次
		</td>
		<td width="50%" align="center" style="WORD-WRAP: break-word">

			<c:set var="file_code">
				<x:out select="$xmlData/data/basic_info/proof_file_code2" />
			</c:set>

			<div id="proof_content2" style="float: left; width: 200px;">
				<%--  <c:if test="${empty file_code }">display:none;</c:if> --%>
				<input id="file2" type="file" name="filedata" />

				<div id="proof_file2"
					style="<c:if test="${empty file_code}">display:none;</c:if>">
					<input type="hidden" id="file_code2"
						name="basic_info/proof_file_code2" class="required"
						label="其中：在2016年广州科技活动周期间举办活动次数-->证明材料"
						value="<x:out select="$xmlData/data/basic_info/proof_file_code2" />" />
					<br />
					<br />
					<a id="file_url2" class="link_x"
						href="/egrantweb/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/basic_info/proof_file_code2" />"
						style="cursor: pointer;">
						<span name="basic_info/proof_file_name2" id="file_name2"
							style="color: blue;">
							<x:out select="$xmlData/data/basic_info/proof_file_name2" />
						</span>
					</a>
					<br />
					(上传时间
					<span name="basic_info/proof_file_date2" id="proof_file_date2">
						<iris:xout select="$xmlData/data/basic_info/proof_file_date2" />
					</span>
					)
					<a href="###" class="link_x" id="sy_delConent2"
						onclick="delContent_1('proof_file2',2);">删除</a>
				</div>
			</div>
		</td>
	</tr>
	<tr>
		<td align="center">参加广州科普基地联盟四进活动、科普基地校园行等次数</td>
		<td align="center">
			<input id="kepu2" name="full_year/kepu_number"
				label="参加广州科普基地联盟四进活动、科普基地校园行等次数--总次数"
				onfocus="InitInput.setNumber(this,7,0,0);"
				onchange="totalKepu();doSomething(this.id);" type="text"
				class="input_css required" style="width: 80%" maxlength="20"
				value="<x:out select="$xmlData/data/full_year/kepu_number" />" />
			次
		</td>
		<td align="center">
			<input id="kepu_2" name="full_year/kepu_person"
				label="参加广州科普基地联盟四进活动、科普基地校园行等次数-->参与人数" type="text"
				onfocus="InitInput.setNumber(this,7,0,0);" onchange="totalKepu();"
				class="input_css required" style="width: 80%" maxlength="20"
				value="<x:out select="$xmlData/data/full_year/kepu_person" />" />
			人次
		</td>
		<td align="center" style="WORD-WRAP: break-word">
			<c:set var="file_code">
				<x:out select="$xmlData/data/basic_info/proof_file_code3" />
			</c:set>

			<div id="proof_content3" style="float: left; width: 200px;">
				<%--  <c:if test="${empty file_code }">display:none;</c:if> --%>
				<input id="file3" type="file" name="filedata" />

				<div id="proof_file3"
					style="<c:if test="${empty file_code}">display:none;</c:if>">
					<input type="hidden" id="file_code3"
						name="basic_info/proof_file_code3" class="required"
						label="参加广州科普基地联盟四进活动、科普基地校园行等次数-->证明材料"
						value="<x:out select="$xmlData/data/basic_info/proof_file_code3" />" />
					<br />
					<br />
					<a id="file_url3" class="link_x"
						href="/egrantweb/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/basic_info/proof_file_code3" />"
						style="cursor: pointer;">
						<span name="basic_info/proof_file_name3" id="file_name3"
							style="color: blue;">
							<x:out select="$xmlData/data/basic_info/proof_file_name3" />
						</span>
					</a>
					<br />
					(上传时间
					<span name="basic_info/proof_file_date3" id="proof_file_date3">
						<iris:xout select="$xmlData/data/basic_info/proof_file_date3" />
					</span>
					)
					<a href="###" class="link_x" id="sy_delConent3"
						onclick="delContent_1('proof_file3',3)">删除</a>
				</div>
			</div>
		</td>
	</tr>
	<tr>
		<td align="center">参加广州科普讲解大赛次数</td>
		<td align="center">
			<input id="kepu3" name="full_year/contest_number"
				label="参加广州科普讲解大赛次数-->总次数" type="text" class="input_css required"
				style="width: 80%" maxlength="20"
				onfocus="InitInput.setNumber(this,7,0,0);"
				onchange="totalKepu();doSomething(this.id);"
				value="<x:out select="$xmlData/data/full_year/contest_number" />" />
			次
		</td>
		<td align="center">
			<input id="kepu_3" name="full_year/contest_person"
				label="参加广州科普讲解大赛次数-->参与人数" type="text" class="input_css required"
				style="width: 80%" maxlength="20"
				onfocus="InitInput.setNumber(this,7,0,0);" onchange="totalKepu();"
				value="<x:out select="$xmlData/data/full_year/contest_person" />" />
			人次
			<br>
			（是否获奖）
			<input type="radio" class="do " id="yes_no01"
				style="vertical-align: middle;" name="full_year/yes_no" label="获奖"
				value="01" />
			<span style="vertical-align: middle;">是</span>
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			<input type="radio" class="do " id="yes_no02"
				style="vertical-align: middle;" name="full_year/yes_no" label="未获奖"
				value="02" />
			<span style="vertical-align: middle;">否</span>
			<input type="hidden" name="full_year/yes_no_value"
				id="fund_subsidize_value" class="required"
				value="<x:out select="$xmlData/data/full_year/yes_no_value" />"
				label="是否获奖" />
			<input type="hidden" name="full_year/yes_no" id="fund_subsidize_name"
				value="<x:out select="$xmlData/data/full_year/yes_no" />" />
			<br />
		</td>
		<td align="center" style="WORD-WRAP: break-word">
			<div id="proof_content4" style="float: left; width: 200px;">
				<%--  <c:if test="${empty file_code }">display:none;</c:if> --%>
				<input id="file4" type="file" name="filedata" />

				<div id="proof_file4"
					style="<c:if test="${empty file_code}">display:none;</c:if>">
					<input type="hidden" id="file_code4"
						name="basic_info/proof_file_code4" class="required"
						label="参加广州科普讲解大赛次数-->证明材料"
						value="<x:out select="$xmlData/data/basic_info/proof_file_code4" />" />
					<br />
					<br />
					<a id="file_url4" class="link_x"
						href="/egrantweb/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/basic_info/proof_file_code4" />"
						style="cursor: pointer;">
						<span name="basic_info/proof_file_name4" id="file_name4"
							style="color: blue;">
							<x:out select="$xmlData/data/basic_info/proof_file_name4" />
						</span>
					</a>
					<br />
					(上传时间
					<span name="basic_info/proof_file_date4" id="proof_file_date4">
						<iris:xout select="$xmlData/data/basic_info/proof_file_date4" />
					</span>
					)
					<a href="###" class="link_x" id="sy_delConent4"
						onclick="delContent_1('proof_file4',4)">删除</a>
				</div>
			</div>
		</td>
	</tr>
	<tr>
		<td align="center">2.媒体报道情况</td>
		<td align="center">总次数</td>
		<td align="center"></td>
		<td align="center"></td>
	</tr>
	<tr>
		<td></td>
		<td align="center">
			<input id="full_year_total_number2" name="full_year/total_number2"
				label="媒体报道情况-->总次数" type="text" onchange="doSomething(this.id);"
				class="input_css required" style="width: 80%" maxlength="20"
				onfocus="InitInput.setNumber(this,7,0,0)"
				value="<x:out select="$xmlData/data/full_year/total_number2" />" />
			次
		</td>
		<td align="center"></td>
		<td align="center" style="WORD-WRAP: break-word">
			<c:set var="file_code">
				<x:out select="$xmlData/data/basic_info/proof_file_code5" />
			</c:set>
			<div id="proof_content5" style="float: left; width: 200px;">
				<%--  <c:if test="${empty file_code }">display:none;</c:if> --%>
				<input id="file5" type="file" name="filedata" />
				<div id="proof_file5"
					style="<c:if test="${empty file_code}">display:none;</c:if>">
					<input type="hidden" id="file_code5"
						name="basic_info/proof_file_code5" class="required"
						label="媒体报道情况-->证明材料"
						value="<x:out select="$xmlData/data/basic_info/proof_file_code5" />" />
					<br />
					<br />
					<a id="file_url5" class="link_x"
						href="/egrantweb/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/basic_info/proof_file_code5" />"
						style="cursor: pointer;">
						<span name="basic_info/proof_file_name5" id="file_name5"
							style="color: blue;">
							<x:out select="$xmlData/data/basic_info/proof_file_name5" />
						</span>
					</a>
					<br />
					(上传时间
					<span name="basic_info/proof_file_date5" id="proof_file_date5">
						<iris:xout select="$xmlData/data/basic_info/proof_file_date5" />
					</span>
					)
					<a href="###" class="link_x" id="sy_delConent5"
						onclick="delContent_1('proof_file5',5)">删除</a>
				</div>
			</div>
		</td>
	</tr>
	<tr>
		<td align="center">3.对接中小学或社区及其他单位情况</td>
		<td align="center">数量</td>
		<td align="center"></td>
		<td align="center"></td>
	</tr>
	<tr>
		<td></td>
		<td align="center">
			<input id="full_year_family" name="full_year/family"
				label="对接中小学或社区及其他单位情况-->数量" type="text"
				onchange="doSomething(this.id);" class="input_css required"
				onfocus="InitInput.setNumber(this,7,0,0)" style="width: 80%"
				maxlength="20"
				value="<x:out select="$xmlData/data/full_year/family" />" />
			家
		</td>
		<td align="center"></td>
		<td align="center" style="WORD-WRAP: break-word">
			<c:set var="file_code">
				<x:out select="$xmlData/data/basic_info/proof_file_code6" />
			</c:set>
			<div id="proof_content6" style="float: left; width: 200px;">
				<%--  <c:if test="${empty file_code }">display:none;</c:if> --%>
				<input id="file6" type="file" name="filedata" />
				<div id="proof_file6"
					style="<c:if test="${empty file_code}">display:none;</c:if>">
					<input type="hidden" id="file_code6"
						name="basic_info/proof_file_code6" class="required"
						label="对接中小学或社区及其他单位情况-->证明材料"
						value="<x:out select="$xmlData/data/basic_info/proof_file_code6" />" />
					<br />
					<br />
					<a id="file_url6" class="link_x"
						href="/egrantweb/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/basic_info/proof_file_code6" />"
						style="cursor: pointer;">
						<span name="basic_info/proof_file_name6" id="file_name6"
							style="color: blue;">
							<x:out select="$xmlData/data/basic_info/proof_file_name6" />
						</span>
					</a>
					<br />
					(上传时间
					<span name="basic_info/proof_file_date6" id="proof_file_date6">
						<iris:xout select="$xmlData/data/basic_info/proof_file_date6" />
					</span>
					)
					<a href="###" class="link_x" id="sy_delConent6"
						onclick="delContent_1('proof_file6',6)">删除</a>
				</div>
			</div>
		</td>
	</tr>
	<tr class="t_tr">
		<td align="left">（二）科普成果</td>
		<td align="center"></td>
		<td align="center"></td>
		<td align="center"></td>
	</tr>
	<tr>
		<td align="center">1、获得国家、省、市科普类奖励情况</td>
		<td align="center">科技进步奖</td>
		<td align="center">其他类科普奖励</td>
		<td align="center"></td>
	</tr>
	<tr>
		<td align="center">国家级科普奖励项数</td>
		<td align="center">
			<input id="full_year_country_kepu" name="full_year/country_kepu"
				label="国家级科普奖励项数-->科技进步奖项"
				onchange="doSomething(this.id,'full_year_other');" type="text"
				class="input_css required" onfocus="InitInput.setNumber(this,7,0,0)"
				style="width: 80%" maxlength="20"
				value="<x:out select="$xmlData/data/full_year/country_kepu" />" />
			项
		</td>
		<td align="center">
			<input id="full_year_other" name="full_year/other"
				label="国家级科普奖励项数-->其他类科普奖励" type="text"
				onchange="doSomething(this.id,'full_year_country_kepu');"
				class="input_css required" onfocus="InitInput.setNumber(this,7,0,0)"
				style="width: 80%" maxlength="20"
				value="<x:out select="$xmlData/data/full_year/other" />" />
			项
		</td>
		<td align="center" style="WORD-WRAP: break-word">
			<c:set var="file_code">
				<x:out select="$xmlData/data/basic_info/proof_file_code7" />
			</c:set>
			<div id="proof_content7" style="float: left; width: 200px;">
				<%--  <c:if test="${empty file_code }">display:none;</c:if> --%>
				<input id="file7" type="file" name="filedata" />
				<div id="proof_file7"
					style="<c:if test="${empty file_code}">display:none;</c:if>">
					<input type="hidden" id="file_code7"
						name="basic_info/proof_file_code7" class="required"
						label="国家级科普奖励项数-->证明材料"
						value="<x:out select="$xmlData/data/basic_info/proof_file_code7" />" />
					<br />
					<br />
					<a id="file_url7" class="link_x"
						href="/egrantweb/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/basic_info/proof_file_code7" />"
						style="cursor: pointer;">
						<span name="basic_info/proof_file_name7" id="file_name7"
							style="color: blue;">
							<x:out select="$xmlData/data/basic_info/proof_file_name7" />
						</span>
					</a>
					<br />
					(上传时间
					<span name="basic_info/proof_file_date7" id="proof_file_date7">
						<iris:xout select="$xmlData/data/basic_info/proof_file_date7" />
					</span>
					)
					<a href="###" class="link_x" id="sy_delConent7"
						onclick="delContent_1('proof_file7',7)">删除</a>
				</div>
			</div>
		</td>
	</tr>

	<tr>
		<td align="center">省级科普奖励项数</td>
		<td align="center">
			<input id="full_year_province_keji" name="full_year/province_keji"
				label="省级科普奖励项数-->科技进步奖项" type="text"
				onchange="doSomething(this.id,'full_year_province_kepu');"
				class="input_css required" onfocus="InitInput.setNumber(this,7,0,0)"
				style="width: 80%" maxlength="20"
				value="<x:out select="$xmlData/data/full_year/province_keji" />" />
			项
		</td>
		<td align="center">
			<input id="full_year_province_kepu" name="full_year/province_kepu"
				label="省级科普奖励项数-->其他类科普奖励" type="text"
				onchange="doSomething(this.id,'full_year_province_keji');"
				class="input_css required" onfocus="InitInput.setNumber(this,7,0,0)"
				style="width: 80%" maxlength="20"
				value="<x:out select="$xmlData/data/full_year/province_kepu" />" />
			项
		</td>
		<td align="center" style="WORD-WRAP: break-word">
			<c:set var="file_code">
				<x:out select="$xmlData/data/basic_info/proof_file_code8" />
			</c:set>
			<div id="proof_content8" style="float: left; width: 200px;">
				<%--  <c:if test="${empty file_code }">display:none;</c:if> --%>
				<input id="file8" type="file" name="filedata" />
				<div id="proof_file8"
					style="<c:if test="${empty file_code}">display:none;</c:if>">
					<input type="hidden" id="file_code8"
						name="basic_info/proof_file_code8" class="required"
						label="省级科普奖励项数-->证明材料"
						value="<x:out select="$xmlData/data/basic_info/proof_file_code8" />" />
					<br />
					<br />
					<a id="file_url8" class="link_x"
						href="/egrantweb/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/basic_info/proof_file_code8" />"
						style="cursor: pointer;">
						<span name="basic_info/proof_file_name8" id="file_name8"
							style="color: blue;">
							<x:out select="$xmlData/data/basic_info/proof_file_name8" />
						</span>
					</a>
					<br />
					(上传时间
					<span name="basic_info/proof_file_date8" id="proof_file_date8">
						<iris:xout select="$xmlData/data/basic_info/proof_file_date8" />
					</span>
					)
					<a href="###" class="link_x" id="sy_delConent8"
						onclick="delContent_1('proof_file8',8)">删除</a>
				</div>
			</div>

		</td>
	</tr>
	<tr>
		<td align="center">市级科普奖励项数</td>
		<td align="center">
			<input id="full_year_city_keji" name="full_year/city_keji"
				label="市级科普奖励项数-->科技进步奖项" type="text" class="input_css required"
				onchange="doSomething(this.id,'full_year_province_kepu');"
				onfocus="InitInput.setNumber(this,7,0,0)" style="width: 80%"
				maxlength="20"
				value="<x:out select="$xmlData/data/full_year/city_keji" />" />
			项
		</td>
		<td align="center">
			<input id="full_year_city_kepu" name="full_year/city_kepu"
				label="市级科普奖励项数-->其他类科普奖励" type="text" class="input_css required"
				onchange="doSomething(this.id,'full_year_city_keji');"
				onfocus="InitInput.setNumber(this,7,0,0)" style="width: 80%"
				maxlength="20"
				value="<x:out select="$xmlData/data/full_year/city_kepu" />" />
			项
		</td>
		<td align="center" style="WORD-WRAP: break-word">
			<c:set var="file_code">
				<x:out select="$xmlData/data/basic_info/proof_file_code9" />
			</c:set>
			<div id="proof_content9" style="float: left; width: 200px;">
				<%--  <c:if test="${empty file_code }">display:none;</c:if> --%>
				<input id="file9" type="file" name="filedata" />
				<div id="proof_file9"
					style="<c:if test="${empty file_code}">display:none;</c:if>">
					<input type="hidden" id="file_code9"
						name="basic_info/proof_file_code9" class="required"
						label="市级科普奖励项数-->证明材料"
						value="<x:out select="$xmlData/data/basic_info/proof_file_code9" />" />
					<br />
					<br />
					<a id="file_url9" class="link_x"
						href="/egrantweb/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/basic_info/proof_file_code9" />"
						style="cursor: pointer;">
						<span name="basic_info/proof_file_name9" id="file_name9"
							style="color: blue;">
							<x:out select="$xmlData/data/basic_info/proof_file_name9" />
						</span>
					</a>
					<br />
					(上传时间
					<span name="basic_info/proof_file_date9" id="proof_file_date9">
						<iris:xout select="$xmlData/data/basic_info/proof_file_date9" />
					</span>
					)
					<a href="###" class="link_x" id="sy_delConent9"
						onclick="delContent_1('proof_file9',9)">删除</a>
				</div>
			</div>
		</td>
	</tr>
	<tr>
		<td align="center">2.出版科普作品情况</td>
		<td align="center">正式出版数量</td>
		<td align="center">非正式出版（内部资料）</td>
		<td align="center"></td>
	</tr>
	<tr>
		<td align="center"></td>
		<td align="center">
			<input id="full_year_formal" name="full_year/formal"
				label="出版科普作品情况-->正式出版数量" type="text" class="input_css required"
				onchange="doSomething(this.id,'full_year_informal');"
				onfocus="InitInput.setNumber(this,7,0,0)" style="width: 80%"
				maxlength="20"
				value="<x:out select="$xmlData/data/full_year/formal" />" />
			部
		</td>
		<td align="center">
			<input id="full_year_informal" name="full_year/informal"
				label="出版科普作品情况-->非正式出版（内部资料）" type="text"
				class="input_css required"
				onchange="doSomething(this.id,'full_year_formal');"
				onfocus="InitInput.setNumber(this,7,0,0)" style="width: 80%"
				maxlength="20"
				value="<x:out select="$xmlData/data/full_year/informal" />" />
			部
		</td>
		<td align="center" style="WORD-WRAP: break-word">
			<c:set var="file_code">
				<x:out select="$xmlData/data/basic_info/proof_file_code0" />
			</c:set>
			<div id="proof_content0" style="float: left; width: 200px;">
				<%--  <c:if test="${empty file_code }">display:none;</c:if> --%>
				<input id="file0" type="file" name="filedata" />
				<div id="proof_file0"
					style="<c:if test="${empty file_code}">display:none;</c:if>">
					<input type="hidden" id="file_code0"
						name="basic_info/proof_file_code0" class="required"
						label="出版科普作品情况-->证明材料"
						value="<x:out select="$xmlData/data/basic_info/proof_file_code0" />" />
					<br />
					<br />
					<a id="file_url0" class="link_x"
						href="/egrantweb/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/basic_info/proof_file_code0" />"
						style="cursor: pointer;">
						<span name="basic_info/proof_file_name0" id="file_name0"
							style="color: blue;">
							<x:out select="$xmlData/data/basic_info/proof_file_name0" />
						</span>
					</a>
					<br />
					(上传时间
					<span name="basic_info/proof_file_date0" id="proof_file_date0">
						<iris:xout select="$xmlData/data/basic_info/proof_file_date0" />
					</span>
					)
					<a href="###" class="link_x" id="sy_delConent0"
						onclick="delContent_1('proof_file0',0)">删除</a>
				</div>
			</div>
		</td>
	</tr>
</table>